/*
 * Licensed to The Apereo Foundation under one or more contributor license
 * agreements. See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 *
 * The Apereo Foundation licenses this file to you under the Educational
 * Community License, Version 2.0 (the "License"); you may not use this file
 * except in compliance with the License. You may obtain a copy of the License
 * at:
 *
 *   http://opensource.org/licenses/ecl2.txt
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
 * License for the specific language governing permissions and limitations under
 * the License.
 *
 */


#registration-modal {

    .modal-body {
      padding: 3% 3% 3% 3%;
    }

    .modal-content {
        background-color: $primary-color-white;
        //background-color: $white;
        .row {
            margin: 6px 0;
        }

    fieldset {
      margin: 0px 0px 5px 0px;
      border: $thin-border-stroke $main-border-color;
      border-radius: $main-border-radius;
      legend {
        font-weight: bold;
        color: $medium-prim-color;
        padding: 0px 3px;
      }
      padding: 0px 20px;
    }

    hr {
      border: none;
      height: 1px;
      color: $main-border-color;
      background-color: $main-border-color;
      margin: 2px 0px;
    }

    p {
      color: $dark-prim-color;
      font-size: 15px;
      line-height: 1.25;
    }

    b {
      color: $dark-prim-color;
      font-weight: 700;
    }

    .form-group {
      font-family: "Open Sans", Helvetica, sans-serif;
      position: relative;
      margin-bottom: 0.3rem;

      select {
        height: $input-height;
        padding-left: 17px;
      }
      select:-moz-focusring {
        color: transparent;
        text-shadow: 0 0 0 #000;
      }

      display: inline-block;
      width: 100%;
    }
    .form-group-checkbox {
      margin-bottom: 2px;
      input, label {
        width: auto;
        vertical-align: middle;
        margin-top: 6px;
      }
      label {
        display: inline-block;
      }
    }

    .form-group-checkbox:last-child {
      margin-bottom: 8px;
    }

    .form-group-pair {
      .form-group:first-child {
        float:left;
        width:33%;
        margin-right:1.5%
      }
      .form-group:last-child {
        float:right;
        width:64%;
        margin-left:1.5%
      }
    }
    .form-control {
      width: 100%;
      padding-top: 8px;
    }

    .form-control-placeholder {
      position: absolute;
      top: 0;
      padding: 13px 0 0 17px;
      transition: all 200ms;
      opacity: 0.5;
    }

    .form-control:focus + .form-control-placeholder,
    .form-control.ng-not-empty + .form-control-placeholder {
      font-size: 70%;
      font-weight: 700;
      transform: translate3d(0, -35%, 0);
      opacity: 1;
      color: #4b4b4b
    }

    .form-control:focus + .form-control-placeholder {
      color: #378dd4;
    }

    .form-control.ng-invalid.ng-dirty + .form-control-placeholder{
      color: red;
    }

    .form-control:required + label:after {
        color: #e32;
        content: ' *';
        display:inline;
    }
    .scrollbox {
      h1 {
        color: $dark-prim-color;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 20px;
        margin-top: 10px;
      }
      background-color: $white;
      border: $thin-border-stroke $main-border-color;
      border-radius: $main-border-radius;
      max-height: 350px;
      padding: 10px;
      overflow: auto;
    }
    .spinner-container {
      text-align: center;
    }
    .registration-header {
        padding: 10px 0;
        padding-top: 0;
        color: $medium-prim-color;
        font-size: 12px;
        line-height: 20px;
        width: 100%;
        margin-bottom: 0;

        h2 {
          font-size: 31px;
          color: $dark-prim-color;
        }

        &.for-header {
        }

        &.for-footer {
            padding-bottom: 0;
            margin-bottom: -5px;
        }

        p:not(:last-child) {
            margin-bottom: 10px;
        }
    }

    // Fix for Half Pixel Rounding Chrome
    .col {
        width: 48.72%;
        h3 {
          color: $dark-prim-color;
          font-size: 18px;
          font-weight: 600;
        }

        img {
          max-width: 100%;
          object-fit: fill;
        }
    }
}

    footer {

        a {
            margin: 15px 5px 15px 25px;
            &.inactive {
              opacity: 0.5;
              cursor: default;
            }
            &.inactive:active, &.inactive:hover {
              box-shadow: none;
              background-image: none;
              background-color: #37c180;
            }
        }

        .pull-right {
            float: right;
            margin-right: 20px;
        }
        .skip-registration {
            float: none;
            height: 100%;
            color: $light-prim-color;
            font-size: small;
        }
        .skip-registration-text {
          text-align: center;
          position: absolute;
          bottom: 8px;
          right: 0;
          left: 0;
        }
    }
    .link {
      cursor: pointer;
      border-bottom-width: 1px;
      border-bottom-color: currentcolor;
      border-bottom-style: dashed;
    }
}